package com.sunlake.spring.main.model.counselor.mapper;

import com.sunlake.spring.main.model.counselor.po.ResumesPO;
import generator.domain.Resumes;
import org.mapstruct.Mapper;

import java.util.ArrayList;

/**
* @author 22530
* @description 针对表【resumes】的数据库操作Mapper
* @createDate 2025-11-03 18:51:15
* @Entity generator.domain.Resumes
*/

public interface ResumesMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ResumesPO record);

    int insertSelective(Resumes record);

    ResumesPO selectByPrimaryKey(Long id);

    ArrayList<ResumesPO> selectByUserId(Integer userId);

    int updateByPrimaryKeySelective(Resumes record);

    int updateByPrimaryKey(Resumes record);

    int updateIsCurrentByUserId(Long userId);

    Integer selectCurrentVersionByUserId(Long userId);
}
